package com.atguigu.common.exception;

/**
 * 异常枚举
 *
 * @author fuzm
 * @date 2021/7/28
 */
public enum BizCodeEnume {
    UNKNOW_EXCEPTION(10000, "系统未知异常"),

    VATLD_EXCEPTION(10001, "参数格式校验异常"),
    ;

    private Integer code;
    private String msg;

    BizCodeEnume(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
